import * as React from 'react';
import * as ReactDOM from 'react-dom';
// import { AppContainer } from 'react-hot-loader';

import App from './containers/App';

import './index.scss';

const render = Component => {
  ReactDOM.render(
    <div>
      <Component />
    </div>,
    document.getElementById('root')
  );
};


render(App);

// if (module.hot) {
//    module.hot.accept('./containers/App', () => {
//      render(require('./containers/App').default);
//    });
// }

